<?php

class ParentClass {
    public function dynamicMethod()      {}
    static public function staticMethod(){}
}

class CasesHolder extends ParentClass {
    private $property;

    public function method() {
        return [
            function() { return $this->property; },
            function() { return $this->property; },
            fn() => $this->property,

            static function() { return function () { return $this->property; }; },

            function() { parent::dynamicMethod(); },
            fn() => parent::dynamicMethod(),
            static function() { parent::staticMethod(); },
        ];
    }
}